﻿using Sorting.App.Models.Enum;

namespace Sorting.App.Models
{






    public class ResfulModel<T>
    {
        public int statusCode { get; set; }

        public bool succeeded { get; set; }

        public string errors { get; set; }
        public string extras { get; set; }
        public dynamic timestamp { get; set; }
        public T data { get; set; }

        //public int code { get; set; }

        //public bool Success { get; set; }

        //public string message { get; set; }
        //public string Extras { get; set; }
        //public dynamic Timestamp { get; set; }
        //public T data { get; set; }
    }


    public class ResultModel<T>
    {
        public bool Success { get; set; }

        public string Message { get; set; }


        public T Data { get; set; }
    }


    public class TaskModel
    {

        public string Data { get; set; }


    }
}
